package com.sudo.service.admin.service;

import com.sudo.common.enums.SysJobAction;
import com.sudo.common.utils.JsonRes;
import com.sudo.rpc.api.utils.RpcRes;

import java.util.Map;

/**
 * @Author：DayDayUp
 * @Create：2023/2/11 15:12
 */
public interface LogAndEmailService {

    void asyncLocalMethodJobLogAndEmail(JsonRes jsonRes, SysJobAction sysJobAction);

    void asyncRpcMethodJobLogAndEmail(Map<String, Object> tlMap, RpcRes rpcRes);
}
